package cc.vv.btpartyjob.homepage.activity

import cc.vv.baselibrary.view.BaseTopBarView
import cc.vv.btpartyjob.homepage.delegate.StudyRankActivityDelegate
import cc.vv.btpartyjob.homepage.delegate.HomePageBaseBinder
import cc.vv.mvp.activity.BaseActivityMVP
import cc.vv.mvp.binder.BaseDataBinder

/**
 * 学习排名
 * Created by Chen.qi on 2018/10/24.
 */
class StudyRankActivity : BaseActivityMVP<StudyRankActivityDelegate>() {
    override fun initData() {
    }

    override fun bindEvenListener() {
        viewDelegate?.setTitleBackBtnOnClick(object : BaseTopBarView.EventInterface {
            //返回
            override fun leftOnClick() {
                finish()
            }

            override fun leftCloseClick() {}
            override fun rightOnClick() {
            }
        })
    }

    override fun getDelegateClass(): Class<StudyRankActivityDelegate> {
        return StudyRankActivityDelegate::class.java
    }

    override fun getDataBinder(): BaseDataBinder<*, *> {
        return HomePageBaseBinder()
    }

}